package com.woniuxy.intellihome.service;

import com.woniuxy.intellihome.entity.Review;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jobob
 * @since 2021-08-11
 */
public interface ReviewService extends IService<Review> {
    void delete(int id);

    void addReview(String content,String type,String time,int userId,int skuId);

    List<Review> getBySkuid(int sku_id);

}
